//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Puscifer, Primus & A Perfect Circle','Pine Knob Music Theatre','Clarkston, MI','Thursday','5/2/2024','8:00 PM','6049384','Puscifer--Primus---A-Perfect-Circle-5-2-2024'],['Neil Young & Crazy Horse','Pine Knob Music Theatre','Clarkston, MI','Wednesday','5/22/2024','7:30 PM','6264924','Neil-Young---Crazy-Horse-5-22-2024'],['21 Savage','Pine Knob Music Theatre','Clarkston, MI','Tuesday','5/28/2024','7:30 PM','6292381','21-Savage-5-28-2024'],['Hozier & Allison Russell','Pine Knob Music Theatre','Clarkston, MI','Friday','5/31/2024','8:00 PM','6239201','Hozier---Allison-Russell-5-31-2024'],['Hootie and The Blowfish','Pine Knob Music Theatre','Clarkston, MI','Thursday','6/6/2024','7:00 PM','6062223','Hootie-and-The-Blowfish-6-6-2024'],['Nate Bargatze','Pine Knob Music Theatre','Clarkston, MI','Friday','6/7/2024','8:00 PM','6317459','Nate-Bargatze-6-7-2024'],['Tyler Childers & S.G. Goodman','Pine Knob Music Theatre','Clarkston, MI','Tuesday','6/11/2024','7:00 PM','5983465','Tyler-Childers---S-G--Goodman-6-11-2024'],['A Boogie Wit Da Hoodie','Pine Knob Music Theatre','Clarkston, MI','Friday','6/14/2024','8:00 PM','6240428','A-Boogie-Wit-Da-Hoodie-6-14-2024'],['Foreigner, Styx & John Waite','Pine Knob Music Theatre','Clarkston, MI','Saturday','6/15/2024','6:45 PM','6123909','Foreigner--Styx---John-Waite-6-15-2024'],['New Kids On The Block','Pine Knob Music Theatre','Clarkston, MI','Tuesday','6/18/2024','7:00 PM','6045144','New-Kids-On-The-Block-6-18-2024'],['Maroon 5 & Maren Morris','Pine Knob Music Theatre','Clarkston, MI','Friday','6/21/2024','8:00 PM','6369980','Maroon-5---Maren-Morris-6-21-2024'],['Hank Williams Jr. & Marty Stuart and His Fabulous Superlatives','Pine Knob Music Theatre','Clarkston, MI','Saturday','6/22/2024','7:00 PM','6129226','Hank-Williams-Jr----Marty-Stuart-and-His-Fabulous-Superlatives-6-22-2024'],['James Taylor & His All-Star Band','Pine Knob Music Theatre','Clarkston, MI','Sunday','6/23/2024','8:00 PM','6276391','James-Taylor---His-All-Star-Band-6-23-2024'],['Santana & Counting Crows','Pine Knob Music Theatre','Clarkston, MI','Tuesday','6/25/2024','7:00 PM','6264327','Santana---Counting-Crows-6-25-2024'],['Dave Matthews Band','Pine Knob Music Theatre','Clarkston, MI','Wednesday','6/26/2024','7:30 PM','6229455','Dave-Matthews-Band-6-26-2024'],['Luke Bryan, Alana Springsteen & Chase Matthew','Pine Knob Music Theatre','Clarkston, MI','Friday','6/28/2024','3:00 PM','6247604','Luke-Bryan--Alana-Springsteen---Chase-Matthew-6-28-2024'],['Luke Bryan, Ella Langley & Chase Matthew','Pine Knob Music Theatre','Clarkston, MI','Saturday','6/29/2024','3:00 PM','6286971','Luke-Bryan--Ella-Langley---Chase-Matthew-6-29-2024'],['Janet Jackson & Nelly','Pine Knob Music Theatre','Clarkston, MI','Tuesday','7/2/2024','8:00 PM','6215297','Janet-Jackson---Nelly-7-2-2024'],['Kidz Bop Live','Pine Knob Music Theatre','Clarkston, MI','Saturday','7/6/2024','6:00 PM','6220087','Kidz-Bop-Live-7-6-2024'],['Third Eye Blind, Yellowcard & Arizona','Pine Knob Music Theatre','Clarkston, MI','Sunday','7/7/2024','6:30 PM','6203502','Third-Eye-Blind--Yellowcard---Arizona-7-7-2024'],['Niall Horan','Pine Knob Music Theatre','Clarkston, MI','Wednesday','7/10/2024','7:30 PM','5724942','Niall-Horan-7-10-2024'],['I Prevail & Halestorm','Pine Knob Music Theatre','Clarkston, MI','Saturday','7/13/2024','6:00 PM','6303174','I-Prevail---Halestorm-7-13-2024'],['Alanis Morissette, Joan Jett And The Blackhearts & Morgan Wade','Pine Knob Music Theatre','Clarkston, MI','Tuesday','7/16/2024','7:00 PM','6071954','Alanis-Morissette--Joan-Jett-And-The-Blackhearts---Morgan-Wade-7-16-2024'],['Earth, Wind and Fire & Chicago','Pine Knob Music Theatre','Clarkston, MI','Wednesday','7/17/2024','7:30 PM','6079768','Earth--Wind-and-Fire---Chicago-7-17-2024'],['Train, REO Speedwagon & Yacht Rock Revue','Pine Knob Music Theatre','Clarkston, MI','Sunday','7/21/2024','7:00 PM','6239115','Train--REO-Speedwagon---Yacht-Rock-Revue-7-21-2024'],['Limp Bizkit','Pine Knob Music Theatre','Clarkston, MI','Tuesday','7/23/2024','6:30 PM','6132020','Limp-Bizkit-7-23-2024'],['Creed, 3 Doors Down & Finger Eleven','Pine Knob Music Theatre','Clarkston, MI','Wednesday','7/31/2024','7:00 PM','6045204','Creed--3-Doors-Down---Finger-Eleven-7-31-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','Pine Knob Music Theatre','Clarkston, MI','Thursday','8/1/2024','7:00 PM','6276423','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-8-1-2024'],['Sammy Hagar & Loverboy','Pine Knob Music Theatre','Clarkston, MI','Friday','8/2/2024','7:00 PM','6083803','Sammy-Hagar---Loverboy-8-2-2024'],['John Fogerty, George Thorogood and The Destroyers & Hearty Har','Pine Knob Music Theatre','Clarkston, MI','Sunday','8/4/2024','6:50 PM','6370190','John-Fogerty--George-Thorogood-and-The-Destroyers---Hearty-Har-8-4-2024'],['Thirty Seconds to Mars & AFI','Pine Knob Music Theatre','Clarkston, MI','Tuesday','8/6/2024','6:30 PM','6072220','Thirty-Seconds-to-Mars---AFI-8-6-2024'],['Five Finger Death Punch','Pine Knob Music Theatre','Clarkston, MI','Wednesday','8/7/2024','6:30 PM','6311944','Five-Finger-Death-Punch-8-7-2024'],['Barbie: The Movie - In Concert','Pine Knob Music Theatre','Clarkston, MI','Saturday','8/10/2024','8:00 PM','6302539','Barbie--The-Movie---In-Concert-8-10-2024'],['Imagine Dragons','Pine Knob Music Theatre','Clarkston, MI','Monday','8/12/2024','7:00 PM','6396711','Imagine-Dragons-8-12-2024'],['The Doobie Brothers & Steve Winwood','Pine Knob Music Theatre','Clarkston, MI','Thursday','8/15/2024','7:00 PM','6226865','The-Doobie-Brothers---Steve-Winwood-8-15-2024'],['Bret Michaels','Pine Knob Music Theatre','Clarkston, MI','Friday','8/23/2024','7:00 PM','6261914','Bret-Michaels-8-23-2024'],['Glass Animals','Pine Knob Music Theatre','Clarkston, MI','Saturday','8/24/2024','7:45 PM','6361261','Glass-Animals-8-24-2024'],['Rob Zombie & Alice Cooper','Pine Knob Music Theatre','Clarkston, MI','Friday','8/30/2024','6:00 PM','6239186','Rob-Zombie---Alice-Cooper-8-30-2024'],['Pitbull','Pine Knob Music Theatre','Clarkston, MI','Wednesday','9/4/2024','8:00 PM','6399303','Pitbull-9-4-2024'],['Avril Lavigne, Simple Plan & Girlfriends','Pine Knob Music Theatre','Clarkston, MI','Saturday','9/7/2024','7:00 PM','6226926','Avril-Lavigne--Simple-Plan---Girlfriends-9-7-2024'],['Cage The Elephant, Young The Giant & Bakar','Pine Knob Music Theatre','Clarkston, MI','Tuesday','9/10/2024','6:30 PM','6297253','Cage-The-Elephant--Young-The-Giant---Bakar-9-10-2024'],['Breaking Benjamin & Staind','Pine Knob Music Theatre','Clarkston, MI','Wednesday','9/11/2024','5:30 PM','6314443','Breaking-Benjamin---Staind-9-11-2024'],['Lynyrd Skynyrd, ZZ Top & The Outlaws','Pine Knob Music Theatre','Clarkston, MI','Friday','9/13/2024','6:30 PM','6045643','Lynyrd-Skynyrd--ZZ-Top---The-Outlaws-9-13-2024'],['Outlaw Music Festival: Willie Nelson, Bob Dylan & John Mellencamp','Pine Knob Music Theatre','Clarkston, MI','Sunday','9/15/2024','5:00 PM','6291005','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan---John-Mellencamp-9-15-2024'],['The Marley Brothers','Pine Knob Music Theatre','Clarkston, MI','Thursday','9/19/2024','7:30 PM','6381724','The-Marley-Brothers-9-19-2024'],['Megadeth','Pine Knob Music Theatre','Clarkston, MI','Saturday','9/21/2024','6:30 PM','6399814','Megadeth-9-21-2024'],['Korn','Pine Knob Music Theatre','Clarkston, MI','Friday','9/27/2024','6:30 PM','6342983','Korn-9-27-2024']],'DTE Energy Music Theatre','http://www.ticketnetwork.com/ticket/DTE-Energy-Music-Theatre-events.aspx');